$f: 19.2;

.home {
  position: relative;
  width: 100%;
overflow: hidden;
  .banner {
    position: relative;

    .position_img {
      position: absolute;
      top: 351/$f+vw;
      right: 0;
      width: 517/$f+vw;
      height: 598.735/$f+vw;
      z-index: 2;
      img {
        width: 100%;
        height: 100%;
      }
    }
    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, .4);
    }

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 100vh;
    }

    .text {
      position: absolute;
      left: 12vw;
      top: 220/$f+vw;
      z-index: 10;
      width: 50vw;

      .links {
        display: flex;
        margin: 0 0 118/$f+vw;
        a,
        p,
        span {
          color: rgba(255, 255, 255, .6);
          font-size: 24/$f+vw;
          text-transform: uppercase;
        }

        a {
          transition: all 600ms;

          &:hover {
            color: #E60012;
          }
        }

        span {
          margin: 0 1vw;
        }
      }

      .t1 {
        color: #FFF;
        font-size: 20/$f+vw;
        margin: 62/$f+vw 0 32/$f+vw 0;

        &::after {
          display: block;
          width: 174/$f+vw;
          height: 4/$f+vw;
          background: #E60012;
          content: '';
          margin-top: 5px;
        }
      }

      .t2 {
        font-size: 64/$f+vw;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 1.3;
      }

      .des {
        color: #FFF;
        font-size: 20/$f+vw;
        line-height: 1.6;
        margin-top: 50/$f+vw;
      }
    }
  }

  .main {
    margin: 120/$f+vw 200/$f+vw;

    .t {
      color: rgba(26, 32, 44, 1);
      font-size: 64/$f+vw;
      font-weight: 600;
      text-transform: uppercase;

      &::before {
        width: 113/$f+vw;
        height: 4/$f+vw;
        content: '';
        display: block;
        background: #E60012;
        margin-bottom: 36/$f+vw;
      }
    }

    .map{
      width: 100%;
      height: 780/$f+vw;
      margin: 80/$f+vw 0 0 0;
      position: relative;
      *{
        box-sizing: border-box;
      }
      .position{
        position: absolute;
        top: 127/$f+vw;
        right: 100/$f+vw;
        z-index: 5;
        width: 440/$f+vw;
        background: #FFF;
        padding: 60/$f+vw 40/$f+vw;
        .list{
          &:not(:last-child) {
            margin: 0 0 46/$f+vw;
          }
          h1{
            color: #1A202C;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 700;
            line-height: 20.7/$f+vw; /* 103.5% */
            letter-spacing: 0.48/$f+vw;
            margin: 0 0 24/$f+vw;
          }
          p{
            color: #666;
            font-size: 16/$f+vw;
            font-style: normal;
            font-weight: 400;
            line-height: 20.7/$f+vw; /* 129.375% */
            letter-spacing: 0.48/$f+vw;
          }
        }
      }
      #googleMap{
        width: 100%;
        height: 100%;
      }
    }

    .section1{
      padding: 120/$f+vw 0;
      .end{
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        .t{
          display: flex;
          flex-direction: column;
          align-items: flex-end;
        }
      }
      .content{
        width: 1315/$f+vw;
        position: relative;
        margin: 120/$f+vw 0 0 0;
        .position{
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          pointer-events: none;
          .point{
            position: absolute;
            pointer-events: auto;
            @keyframes opacityAnimate {
              0%{
                opacity: 0;
              }
              50%{
                opacity: 1;
              }
              100%{
                opacity: 0;
              }
            }
            .opacity{
              width: 74/$f+vw;
              height: 74/$f+vw;
              animation: opacityAnimate 2s infinite linear;
              // margin: 0 auto;
              // display: block;
            }
            .text{
              position: absolute;
              left: 0;
              top:0;
              transform:translateX(-40%) translateY(-100%);
              display: none;
              .txt{
                border-radius: 8.64/$f+vw;
                background: #FFF;
                box-shadow: 0px 21.6px 54px 0px rgba(0, 0, 0, 0.30);
                width: 290/$f+vw;
                padding: 27/$f+vw 32/$f+vw;
                .p1{
                  color: #000;
                  font-size: 20/$f+vw;
                  font-family: 'Montserrat-Regular.otf';
                  font-weight: 700;
                }
                .it{
                  margin-top: 23/$f+vw;
                  .s1{
                    color: #1A202C;
                    font-size: 16/$f+vw;
                    font-weight: 700;
                  }
                  .s2{
                    color: #666;
                    font-size: 14/$f+vw;
                    line-height: 1.48;
                    margin-top: 10/$f+vw;
                  }
                }
              }
              img{
                position: absolute;
                bottom: -12/$f+vw;
                width: 12/$f+vw;
                left: 50%;
                transform: translateX(-50%);
              }
            }
            &:hover{
              .text{
                display: block;
              }
            }
            &.point_1{
              top: 54/$f+vw;
              left: 252/$f+vw;
            }
            &.point_2{
              top: 387/$f+vw;
              left: 346/$f+vw;
            }
            &.point_3{
              top: 158/$f+vw;
              left: 673/$f+vw;
            }
            &.point_4{
              top: 54/$f+vw;
              left: 1040/$f+vw;
            }
            &.point_5{
              top: 372/$f+vw;
              left: 1181/$f+vw;
            }
          }
        }
        .bg{
          width: 100%;
        }
      }
    }

    .section2{
      padding: 120/$f+vw 0;
      position: relative;
      z-index: 1;
      //overflow: hidden;
      .bg{
        width: 1039/$f+vw;
        height: 1039/$f+vw;
        position: absolute;
        top: 268/$f+vw;
        left: -153/$f+vw;
        z-index: -1;
      }
      *{
        box-sizing: border-box;
      }
      &:after{
        content: '';
        position: absolute;
        width: 100vw;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(246, 246, 246,.5);
        z-index: -1;
      }

      .content{
        margin: 24/$f+vw 0 0 0;
        display: flex;
        justify-content: flex-end;
        form{
          width: 640/$f+vw;
          .list{
            &:not(:last-child) {
              margin: 0 0 30/$f+vw;
            }
            p{
              color: #1A202C;
              font-size: 20/$f+vw;
              font-style: normal;
              font-weight: 700;
              line-height: 20.7/$f+vw; /* 103.5% */
              letter-spacing: 0.48/$f+vw;
              margin: 0 0 24/$f+vw;
            }
            input{
              width: 100%;
              border: 1px solid #666;
              height: 56/$f+vw;
              background: transparent;
              font-size: 20/$f+vw;
              padding: 0 0 0 15/$f+vw;
            }
            textarea{
              width: 100%;
              border: 1px solid #666;
              height: 206/$f+vw;
              background: transparent;
              resize: none;
              font-size: 20/$f+vw;
              padding: 15/$f+vw 0 0 15/$f+vw;
            }
          }
          .more {
            display: flex;
            align-items: center;
            transition: all 500ms;
            background: #E60012;
            width: fit-content;
            padding: 1vw 2.5vw;
            border: none;
            margin: 80/$f+vw 0 0 0;
            cursor: pointer;
            p {
              color: white;
              font-size: 20/$f+vw;
              font-weight: 500;
              transition: all 500ms;
            }

            svg {
              width: 20/$f+vw;
              margin-left: 1vw;

              path {
                transition: all 500ms;
                stroke: white;
              }
            }
          }
        }
      }
    }

  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      .position_img{
        width: 70%;
        height: auto;
        top: unset;
        bottom: 5%;
      }
      .text{
        left: 5%;
        top:60px;
        width: 90%;
        .links{
          a,p,span{
            font-size: 16px;
          }
        }
        .t1{
          font-size: 16px;
          margin: 30px 0 15px 0;
          &::after{
            width: 50px;
            height: 2px;
          }
        }
        .t2{
          font-size: 32px;
        }
        .des{
          font-size: 16px;
          margin-top: 30px;
        }
      }
    }
    .main{
      margin: 30px 5%;
      .t{
        font-size: 32px;
        &::before{
          width: 60px;
          height: 2px;
        }
      }
      .map{
        height: auto;
        margin: 35px 0 0 0;
        #googleMap{
          height: 200px;
        }
        .position{
          position: static;
          width: 100%;
          margin: 30px auto 0;
          padding: 0;
          .list{
            &:not(:last-child) {
              margin: 0 0 30px;
            }
            h1{
              font-size: 24px;
              line-height: 1;
              margin: 0 0 10px;
            }
            p{
              font-size: 14px;
              line-height: 1.6;
            }
          }
        }
      }
      .section1{
        padding: 50px 0;
        .end{
          align-items: unset;
          justify-content: unset;
          .t{
            align-items: unset;
          }
        }
        .content{
          width: 100%;
          .position{
            width: 100%;
            .point{
              .opacity{
                width: 50px;
                height: 50px;
              }
              .text{
                height: auto;
                padding: 2px 5px;
                img{
                  width: 10px;
                  bottom: -5px;
                }
                p{
                  font-size: 12px;
                }
              }
            }

          }
        }
      }
      .section2{
        .bg{
          width: 100%;
          height: auto;
        }
        .content{
          margin: 40px 0 0 0;
          form{
            width: 100%;
            .list{
              &:not(:last-child) {
                margin: 0 0 23px;
              }
              p{
                font-size: 14px;
                line-height: 1;
                margin: 0 0 15px;
              }
              input{
                height: 45px;
                padding: 0 0 0 3%;
                font-size: 14px;
              }
              textarea{
                height: 100px;
                font-size: 14px;
                line-height: 1;
                padding: 3% 0 0 3%;
              }
            }
            .more{
              padding: 10px 20px;
              margin: 25px 0 0 0;
              p{
                font-size: 16px;
              }
              svg{
                width: 15px;
                margin-left: 10px;
              }
            }
          }
        }
      }
    }
  }
}